package cn.wolfcode.service;

import cn.wolfcode.util.JsonResult;

public interface IPasswordManagementService {
    // 重置密码
    JsonResult Reset(String newPassword, Long id) throws RuntimeException;

    // 修改密码
    JsonResult update(String oldPassword, String newPassword);

}
